package cn.wawi.controller.sys;

import javax.annotation.Resource;
import cn.wawi.controller.BaseController;
import cn.wawi.dao.sys.DictionaryDao;
import cn.wawi.entity.sys.Dictionary;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
/**
 * controller继承 BaseController 拥有
 * findAll       查询所有不分页
 * findOne       查询一条记录
 * findAllByPage 查询所有，分页
 * deleteBatch 批量删除
 * updateBatch 批量更新状态
 * deleteOne 根据主键删除
 * saveORupdate 主键id不为空时更新,否则保存
 */
@Controller
@RequestMapping("/sys_dictionary")
public class DictionaryController extends BaseController<Dictionary>{
	@Resource
	protected DictionaryDao<Dictionary> dictionaryDao;
	
	
}
